from django.db import models


# Create your models here.


class XcSetting(models.Model):
    list_cookie = models.CharField(max_length=1000, blank=True, null=True, verbose_name='列表Cookie', help_text='一个月有效期')
    info_cookie_field = models.CharField(db_column='info_cookie =', max_length=1000, blank=True,
                                         null=True,
                                         verbose_name='详情页Cookie',
                                         help_text='一个月有效期')
    coup_cookie = models.CharField(max_length=1000, blank=True, null=True, verbose_name='优惠卷Cookie')
    appkey_gmap = models.CharField(max_length=255, blank=True, null=True, verbose_name='高德地图Appkey')

    class Meta:
        managed = False
        db_table = 'xc_setting'
        verbose_name = '携程配置'
        verbose_name_plural = verbose_name
